package day7;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileW2 {
    public static void main(String[] args) {
        try {
            Writer w=new FileWriter("d:/tmp/222.txt",true);
            w.write(21016);
            w.write(21017);
            w.write(21015);
            w.write('龙');
            w.write('\n');
            w.write("今天是2023年10月17号，气温是14-27度");
            w.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
